import Vue from 'vue';
import Toast from '@/components/Toast/index.vue'
const Toast_son=Vue.extend(Toast);
Toast.pushin=(data)=>{
    let instance=new Toast_son().$mount();
    instance.content= data.content;
    instance.type= data.type;
    document.body.appendChild(instance.$el);
}
export default Toast.pushin;